#!/usr/bin/perl

# PERL MODULE WE WILL BE USING
use Mysql;

# HTTP HEADER
print "Content-type: text/html \n\n";

# MySQL CONFIG VARIABLES
$host = "localhost";
$database = "store";
$tablename = "inventory";
$user = "username";
$pw = "password";


# PERL MYSQL CONNECT
$connect = Mysql->connect($host, $database, $user, $pw);
 # SELECT DB
$connect->selectdb($database);
